package com.yssw.model.vo.news;

import com.yssw.common.core.domain.entity.SysUser;
import com.yssw.news.domain.NewsTable;
import lombok.*;

/**
 * @Author KnockingFarmers
 * @Date 2023/3/27 10:53
 * @PackageName:com.yssw.model.vo
 * @ClassName: NewsVo
 * @Description: TODO
 * @Version 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@EqualsAndHashCode
public class NewsVo extends NewsTable {

   private String typeName;

   private String isTop;

   public String getIsTop(){
       return this.getTop()==1?"是":"否";
   }


}
